﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace May_20_2021
{
    class Circle:Shape
    {
        protected double radius { get; set; }

        public override void GetArea()
        {
            base.GetArea();
            Console.WriteLine("请输入圆的半径");
            radius = double.Parse(Console.ReadLine());
            Console.WriteLine("圆的面积为："+radius*radius*3.14);
        }
    }
}
